home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Click 1 (Special Issue) / fantasy.iso / Demo The Druid King / DemoMap.pak / MISSION_GAMEHELP.VS < prev    next >
Text File  |  2001-04-11  |  5KB  |  143 lines

  1. // void
  2.  
  3. int note;
  4. int notes_count;
  5. int note_time;
  6.  
  7. cls();
  8. note_time = 20000;
  9. notes_count = 14;
  10.  
  11. note = EnvReadInt("/NextHelp");
  12. if (note == 0)
  13.   note = EnvReadInt("/LastGamehelp") + EnvReadInt("/GameHelpOffs");
  14. EnvWriteInt("/NextHelp", 0);
  15.  
  16. if (note < 1) note = notes_count;
  17. if (note > notes_count) note = 1;
  18.  
  19. EnvWriteInt("/LastGamehelp", note);
  20. EnvWriteInt("/cls", GetTime() + note_time);
  21.  
  22.   if (note == 1) {
  23.       pr("Giving Commands");
  24.         pr("");
  25.         pr("First, select the object that is to execute the command.");
  26.         pr("Most of the commands can be issued by right-clicking on various objects.");
  27.         pr("All commands can be issued by clicking on the commmand buttons on the bottom of the screen.");
  28.         pr("In both cases the text at the bottom of the view explains the command");
  29.     }
  30.     if (note == 2) {
  31.         pr("Selection");
  32.         pr("");
  33.         pr("Right-click on a single unit to select it.");
  34.         pr("Press the left mouse button and drag a rectangle to select all units within.");
  35.         pr("To select the units within a townhall first select the townhall");
  36.         pr("and click on one of the unit icons on the top of the screen.");
  37.         return;
  38.     }
  39.     if (note == 3) {
  40.         pr("Training of military units");
  41.         pr("");
  42.         pr("New military units can be trained in the barracks.");
  43.         pr("Every unit costs some gold and reduces with one the population of the stronghold.");
  44.         pr("After their training is complete they appear in the townhall.");
  45.         return;
  46.     }
  47.     if (note == 4) {
  48.         pr("Experience");
  49.         pr("");
  50.         pr("All military units have experiece that is increased every time they make a kill.");
  51.         pr("The more experience they get the better their health, attack and defense become.");
  52.         pr("Every unit type develops differently as it gains experience.");
  53.         pr("Footmen get more defense points, Horsemen get more health points, etc.");
  54.         return;
  55.     }
  56.     if (note == 5) {
  57.         pr("Heroes");
  58.         pr("");
  59.         pr("All military units can be attached to a hero by right-clicking on ");
  60.         pr("the hero with the units selected.");
  61.         pr("When attached the units are commanded by the hero and");
  62.         pr("receive part of his experience.");
  63.         pr("The attached units have yellow selection.");
  64.         return;
  65.     }
  66.     if (note == 6) {
  67.         pr("Hiring of heroes");
  68.         pr("");
  69.         pr("The easiest way to get a hero is to hire one from the arena.");
  70.         pr("In the demo the arena is not functional so you should find another way.");
  71.         return;
  72.     }
  73.     if (note == 7) {
  74.         pr("Feeding the army");
  75.         pr("");
  76.         pr("Every unit constantly requires food to be in good health.");
  77.         pr("Keep your units always around a warehouse with food inside");
  78.         pr("so they can feed themselves.");
  79.         pr("If you leave them without food for too long they will get weak.");
  80.         return;
  81.     }
  82.     if (note == 8) {
  83.         pr("Healing units");
  84.         pr("");
  85.         pr("The units heal when inside a stronghold, village or outpost and");
  86.         pr("there is enough food for them.");
  87.         return;
  88.     }
  89.     if (note == 9) {
  90.         pr("Strongholds");
  91.         pr("");
  92.         pr("Every stronghold consists of town hall, warehouse, barracks,");
  93.         pr("arena, tavern and houses.");
  94.         pr("The owner of the stronghold receives taxes from the population.");
  95.         pr("The more the population and the level of the stronghold");
  96.         pr("the more gold is collected.");
  97.         return;
  98.     }
  99.     if (note == 10) {
  100.         pr("Villages");
  101.         pr("");
  102.         pr("Villages consist of town hall, warehouse, and houses.");
  103.         pr("The owner of the village gets all surplus food.");
  104.         pr("The more the population and the level of the village");
  105.         pr("the more food is collected.");
  106.         return;
  107.     }
  108.     if (note == 11) {
  109.         pr("Transportation of resources");
  110.         pr("");
  111.         pr("All resources have location on the map.");
  112.         pr("To create a supply line from one warehouse to other");
  113.         pr("select the destination warehouse, ");
  114.         pr("click on the button Supply Food or Supply Gold buttons and");
  115.         pr("click on the source warehouse.");
  116.         return;
  117.     }
  118.     if (note == 12) {
  119.         pr("Repairing of buildings");
  120.         pr("");
  121.         pr("The population in a village or stronghold will slowly repair it on its own.");
  122.         pr("Any units left in the townhall will greatly aid the repair work.");
  123.         return;
  124.     }
  125.     if (note == 13) {
  126.         pr("Capturing");
  127.         pr("");
  128.         pr("A stronghold, village or outpost can be captured when");
  129.         pr("there no friendly units inside or around it to protect it.");
  130.         pr("Always keep some units in the most important locations.");
  131.         return;
  132.     }
  133.     if (note == 14) {
  134.         pr("Items");
  135.         pr("");
  136.         pr("The items belonging to a unit are displayed in the top interface.");
  137.         pr("To get the items within an item holder, ");
  138.         pr("select the unit and right-click on the item holder ");
  139.         return;
  140.     }
  141.  
  142.  
  143.